
<!--
/**************************************************
* @ viewnomatch.jsp
*
* Copyright   2005 Hitrust Technology Inc.
* Developed by SDC, Hitrust.
* All Rights Reserved.
*
* Modify History:
*  v1.00, 2006/02/23, Simonyi Peng
*  1) first release
/**************************************************
-->
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page import="com.hitrust.gs.net.*"%>
<%@ include file="../../common.jsp" %>
<%@ taglib uri="/page.util.gs.hitrust.com/taglibs/page" prefix="page"%>

<html>
<head>
<title>查看对帐不符明细</title>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="<%=root%>/css/caigouxitong.css" type=text/css rel=stylesheet>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<script>
	var counter;
	function process(val){

	}
</script>
</head>
<%
	GSAuditResultBean bean = (GSAuditResultBean)request.getAttribute("resultbean");
	ResultProcess tMatch = (ResultProcess)request.getAttribute("nomatchlist");
	ArrayList tList = new ArrayList();
%>
<body BGCOLOR="#f2f2f2"	text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="orderrauditform" method="get" >
<p><br></p>
<br>
            <%
            if(tMatch != null) {
                int totalRecords = 0;
                if(request.getAttribute("totalRecords")!=null){
                    totalRecords=Integer.parseInt((String)request.getAttribute("totalRecords"));
                }
                int defaultPageSize =10;
                if(request.getAttribute("pageSize")!=null){
                    defaultPageSize=Integer.parseInt((String)request.getAttribute("pageSize"));
                }
                totalRecords=tMatch.getRecordsSize();
            %>          
            <page:pager total='<%=totalRecords%>' defaultPageSize='<%=defaultPageSize%>'>
            <%
            tList = tMatch.getDisplayRecords(index.intValue(),pageSize.intValue());
            %>
            
            </page:pager>
            <%} %>
</form>

<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td height="20"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="1">
        <tr height="20">
          <td height="20" width="1" class="mtxt_black">&nbsp;</td>
          <td height="30" width="758" class="mtxt_black">查询对帐结果——>取消信息不符明细</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td class="bg_line" height="2"></td>
  </tr>
</table>

<%
	if(tMatch != null){
%>
	<center>
    <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
            <form name='pager' method="post">
			<input type="hidden" name='confirmorreject'>
            	<table class=bg_table id=tableId	cellspacing=1 cellpadding=2 width=100% align=center border=0>
                    <tbody> 
                    <tr class="bg_column" height=20> 
                        <td class=top align=middle colspan='5'> 
                        <div align="center" class="txt_content">巴士物资</div>
						</td>
                        <td class=top align=middle colspan='5'> 
                        <div align="center" class="txt_content">采购网</div>
						</td>
					</tr>
                    <tr class="bg_column" height=20> 
                        <td class=top align=middle colspan='5'> 
                        <div align="center" class="txt_content">对帐日期：<%=bean.getGs_audit_date()%>&nbsp;取消总量：<%=bean.getGs_audit_canceled_count1()%>&nbsp;总金额：<%=bean.getGs_audit_canceled_price1()%></div>
						</td>
                        <td class=top align=middle colspan='5'> 
                        <div align="center" class="txt_content">对帐日期：<%=bean.getGs_audit_date()%>&nbsp;取消总量：<%=bean.getGs_audit_canceled_count2()%>&nbsp;总金额：<%=bean.getGs_audit_canceled_price2()%></div>
						</td>
					</tr>
                    
                    <tr class="bg_column" height=20> 
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">订单明细ID</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">产品编号</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">订货数量</div>
						</td>																																				
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">产品价格</div>
						</td>	
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">产品总价</div>
						</td>											
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">订单明细ID</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">产品编号</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">订货数量</div>
						</td>																																				
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">产品价格</div>
						</td>	
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">产品总价</div>
						</td>											
					</tr>
					<%
						if(tList != null && tList.size() > 0){
						for(int i=0; i<tList.size(); i++){
							GSAuditMsgBean tGSAuditMsgBean = (GSAuditMsgBean)tList.get(i);
							String tTempStr="";
							if(i%2==0){
								tTempStr="class=\"bg_row_odd\"";
							}else {
								tTempStr="class=\"bg_row_even\"";
							}
							int size = 0;
					%>
							<tr <%=tTempStr%> height=20>
								<td class=top align=middle > 								
									<div align="center" class="txt_content">
									<%=tGSAuditMsgBean.getGs_audit_detail_id1()%>
									</div>
								</td>	
													
								<td class=top align=middle > 								
									<div align="center" class="txt_content">
									<%=tGSAuditMsgBean.getGs_audit_manufacture_id1()%>
									</div>
								</td>	
								<td class=top align=middle > 
									<div align="center" class="txt_content">
									<%=tGSAuditMsgBean.getGs_audit_count1()%>
									</div>
								</td>								
								<td class=top align=middle > 								
									<div align="center" class="txt_content">
									<%=tGSAuditMsgBean.getGs_audit_unitprice1()%>
									</div>
								</td>	
													
								<td class=top align=middle > 								
									<div align="center" class="txt_content">
									<%=tGSAuditMsgBean.getGs_audit_totalprice1()%>
									</div>
								</td>	
								<td class=top align=middle > 								
									<div align="center" class="txt_content">
									<%=tGSAuditMsgBean.getGs_audit_detail_id2()%>
									</div>
								</td>	
													
								<td class=top align=middle > 								
									<div align="center" class="txt_content">
									<%=tGSAuditMsgBean.getGs_audit_manufacture_id2()%>
									</div>
								</td>	
								<td class=top align=middle > 
									<div align="center" class="txt_content">
									<%=tGSAuditMsgBean.getGs_audit_count2()%>
									</div>
								</td>								
								<td class=top align=middle > 								
									<div align="center" class="txt_content">
									<%=tGSAuditMsgBean.getGs_audit_unitprice2()%>
									</div>
								</td>	
													
								<td class=top align=middle > 								
									<div align="center" class="txt_content">
									<%=tGSAuditMsgBean.getGs_audit_totalprice2()%>
									</div>
								</td>	

							</tr> 
					<%
						}
					%>	
							
						  <tr class="bg_column" height=20>
						    <td width="960" height="16" colspan="12" align="right">
									<!--导航条-->
						    		<page:navigator type='text' queryForm='orderrauditform'/>
						    </td>
						  
				    <%
						}else{
					%>
							<font color="red">没有订单差错信息</font>
					<%
						}
					%>
					</tbody>
				</table>
				</form>					  
			</td>
		</tr>
	</table>
	</center>
	<p align="center">  

		<!-- <input type="image" src="images/button/dayin.gif" width="58" height="24" class="box" onclick="process('P')"/> -->&nbsp;
    </p>
	
<%		
	}
%>
</body>
</html>